<#include "../../common/head.html" />
<script type="text/javascript" src="${request.contextPath}/javascript/sys/Task.js"></script>
<body class="easyui-layout">
<table id="task_datagrid"></table>

<div id="task_toolbar" style="padding:5px;height:auto;">
    <div style="margin-left:2px;">
      <@shiro.hasPermission name="sys:task:add"><a class="easyui-linkbutton"  id="add_task" data-options="iconCls:'icon-add',plain:true">添加</a><span class="toolbar-item dialog-tool-separator com-separator"></span></@shiro.hasPermission>
	  <@shiro.hasPermission name="sys:task:delete"> <a class="easyui-linkbutton" id="del_task" data-options="iconCls:'icon-remove',plain:true">删除</a><span class="toolbar-item dialog-tool-separator com-separator"></span></@shiro.hasPermission>
	  <@shiro.hasPermission name="sys:task:update"><a class="easyui-linkbutton" id="edit_task" data-options="iconCls:'icon-edit',plain:true">修改</a><span class="toolbar-item dialog-tool-separator com-separator"></span></@shiro.hasPermission>
	</div>
	<div style="margin-left:2px;">
	  <form id="taskSearchForm" style="display:inline;">
	  	<span style="margin-left:2px;">任务名称: <input class="easyui-textbox" style="width:100px;" name="jobName"></input></span>
	    <span style="margin-left:2px;">时间: <input class="easyui-datebox" style="width:100px;" name="startTime"></input>-<input class="easyui-datebox" name="endTime" style="width:100px"></input></span>
	     <a class="easyui-linkbutton" style="width:100px;" id="search_task" data-options="iconCls:'icon-search'">查询</a>
      </form>
   </div>
</div>
</body>